+2008-06-23 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkaction.h
+ * gtk/gtkbuildable.h
+ * gtk/gtkbuilderprivate.h
+ * gtk/gtkcelllayout.h
+ * gtk/gtkentrycompletion.h
+ * gtk/gtkfilechoosersettings.h
+ * gtk/gtkfilesystem.h
+ * gtk/gtkfilesystemmodel.h
+ * gtk/gtkicontheme.h
+ * gtk/gtklinkbutton.h
+ * gtk/gtkpagesetup.h
+ * gtk/gtkpapersize.h
+ * gtk/gtkprintcontext.h
+ * gtk/gtkprintoperation.h
+ * gtk/gtkprintoperationpreview.h
+ * gtk/gtkprintsettings.h
+ * gtk/gtkrecentchooserprivate.h
+ * gtk/gtkrecentmanager.h
+ * gtk/gtksearchengine.h
+ * gtk/gtktexttag.h
+ * gtk/gtktreeselection.h
+ * gtk/gtktreeviewcolumn.h
+ * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
+ <glib-object.h>. There is no point in relying on them being pulled
+ in by other headers in some places and placing them explicitly in
+ other places, so choose the "as little includes as possible"
+ approach and get rid of them.
+
2008-06-23 Kristian Rietveld <kris@imendio.com>
* gdk/gdkenumtypes.h.template:
#define __GTK_ACTION_H__
#include <gtk/gtkwidget.h>
-#include <glib-object.h>
G_BEGIN_DECLS
#ifndef __GTK_BUILDABLE_H__
#define __GTK_BUILDABLE_H__
-#include <glib.h>
#include <gtk/gtkbuilder.h>
#include <gtk/gtktypeutils.h>
#ifndef __GTK_BUILDER_PRIVATE_H__
#define __GTK_BUILDER_PRIVATE_H__
-#include <glib-object.h>
#include "gtkbuilder.h"
typedef struct {
#ifndef __GTK_CELL_LAYOUT_H__
#define __GTK_CELL_LAYOUT_H__
-#include <glib-object.h>
-
#include <gtk/gtkcellrenderer.h>
#include <gtk/gtktreeviewcolumn.h>
#include <gtk/gtkbuildable.h>
#ifndef __GTK_ENTRY_COMPLETION_H__
#define __GTK_ENTRY_COMPLETION_H__
-#include <glib-object.h>
-
#include <gtk/gtktreemodel.h>
#include <gtk/gtkliststore.h>
#include <gtk/gtktreeviewcolumn.h>
#ifndef __GTK_FILE_CHOOSER_SETTINGS_H__
#define __GTK_FILE_CHOOSER_SETTINGS_H__
-#include <glib-object.h>
#include "gtkfilechooserprivate.h"
G_BEGIN_DECLS
#define __GTK_FILE_SYSTEM_H__
#include <gio/gio.h>
-#include <glib-object.h>
#include <gtk/gtkwidget.h> /* For icon handling */
G_BEGIN_DECLS
#ifndef __GTK_FILE_SYSTEM_MODEL_H__
#define __GTK_FILE_SYSTEM_MODEL_H__
-#include <glib-object.h>
#include "gtkfilesystem.h"
#include <gtk/gtktreemodel.h>
#ifndef __GTK_ICON_THEME_H__
#define __GTK_ICON_THEME_H__
-#include <glib-object.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
#ifndef __GTK_LINK_BUTTON_H__
#define __GTK_LINK_BUTTON_H__
-#include <glib.h>
#include <gtk/gtkbutton.h>
G_BEGIN_DECLS
#ifndef __GTK_PAGE_SETUP_H__
#define __GTK_PAGE_SETUP_H__
-#include <glib-object.h>
#include <gtk/gtkenums.h>
#include <gtk/gtkpapersize.h>
#ifndef __GTK_PAPER_SIZE_H__
#define __GTK_PAPER_SIZE_H__
-#include <glib-object.h>
#include <gtk/gtkenums.h>
G_BEGIN_DECLS
#ifndef __GTK_PRINT_CONTEXT_H__
#define __GTK_PRINT_CONTEXT_H__
-#include <glib-object.h>
#include <pango/pango.h>
#include <gtk/gtkenums.h>
#include <gtk/gtkpagesetup.h>
#ifndef __GTK_PRINT_OPERATION_H__
#define __GTK_PRINT_OPERATION_H__
-#include <glib-object.h>
#include <cairo.h>
#include <gtk/gtkmain.h>
#include <gtk/gtkenums.h>
#ifndef __GTK_PRINT_OPERATION_PREVIEW_H__
#define __GTK_PRINT_OPERATION_PREVIEW_H__
-#include <glib-object.h>
#include <cairo.h>
#include <gtk/gtkprintcontext.h>
#ifndef __GTK_PRINT_SETTINGS_H__
#define __GTK_PRINT_SETTINGS_H__
-#include <glib-object.h>
#include <gtk/gtkpapersize.h>
G_BEGIN_DECLS
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
-
+
#ifndef __GTK_RECENT_CHOOSER_PRIVATE_H__
#define __GTK_RECENT_CHOOSER_PRIVATE_H__
-#include <glib-object.h>
-
#include "gtkrecentmanager.h"
#include "gtkrecentchooser.h"
void _gtk_recent_chooser_selection_changed (GtkRecentChooser *chooser);
G_END_DECLS
-
+
#endif /* ! __GTK_RECENT_CHOOSER_PRIVATE_H__ */
#ifndef __GTK_RECENT_MANAGER_H__
#define __GTK_RECENT_MANAGER_H__
-#include <glib-object.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
#include <time.h>
#ifndef __GTK_SEARCH_ENGINE_H__
#define __GTK_SEARCH_ENGINE_H__
-#include <glib-object.h>
#include "gtkquery.h"
G_BEGIN_DECLS
#ifndef __GTK_TEXT_TAG_H__
#define __GTK_TEXT_TAG_H__
-#include <glib-object.h>
#include <gdk/gdk.h>
#include <gtk/gtkenums.h>
#ifndef __GTK_TREE_SELECTION_H__
#define __GTK_TREE_SELECTION_H__
-#include <glib-object.h>
#include <gtk/gtktreeview.h>
-
G_BEGIN_DECLS
G_END_DECLS
-
#endif /* __GTK_TREE_SELECTION_H__ */
#ifndef __GTK_TREE_VIEW_COLUMN_H__
#define __GTK_TREE_VIEW_COLUMN_H__
-#include <glib-object.h>
#include <gtk/gtkcellrenderer.h>
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreesortable.h>
#ifndef __GTK_UI_MANAGER_H__
#define __GTK_UI_MANAGER_H__
-
-#include <glib.h>
-#include <glib-object.h>
#include <gtk/gtkaccelgroup.h>
#include <gtk/gtkwidget.h>
#include <gtk/gtkaction.h>